import { DateFormat } from "src/utils/decorator";

export class MenuVo {
    menu_id: number;
    menu_name: string;
    parent_id: number;
    order_num: number
    path: string;
    component: string;
    query: string;
    is_frame: number;
    is_cache: number;
    menu_type: string;
    visible: number;
    status: number;
    perms?: string;
    icon?: string;
    remark?: string;
    @DateFormat({ format: 'YYYY-MM-DD HH:mm:ss' })
    create_time?: Date;
    update_time?: Date;
    delete_time?: Date;
    children?: [];
    // public test(@Test('YYYY-MM-DD') el) {
    //     console.log('======', el)
    // }
}




